/**
 * @author SilverBiology, LLC
 * @website http://code.google.com/p/gbif-spreadsheet-processor/
*/
var language = new Ext.data.SimpleStore({
		fields: ['id', 'value']
	,	data: [
				['en','English']
			,	['es','Spanish']
//			,	['hi','Hindi']
			,	['de','German']
		]
});

Ext.getUrlParam = function(param) {
	var params = Ext.urlDecode(location.search.substring(1));
	return param ? params[param] : params;
}; 	

var lang = Ext.getUrlParam('lang');
if(!lang){
	lang = 'en';
};